import { WidgetTypeEnum } from "@/enum/WidgetType";
import { getName } from "@/components/x6/utils";
import type { BasicSettingsConfig } from "@/components/x6/WidgetBasicSettings";
import WidgetBasicSettings from "@/components/x6/WidgetBasicSettings";

export type ChartSettingsConfig = BasicSettingsConfig;

export default class ChartSettings extends WidgetBasicSettings<ChartSettingsConfig> {
  static widgetType = WidgetTypeEnum.L7PLOT;
  initSettings = (): ChartSettingsConfig => ({
    width: 500,
    height: 300,
    name: getName("L7"),
  });
}
